<%@ tag import="com.aiwei.tdjk.service.DomicileService" %>
<%@ tag import="com.aiwei.tdjk.utils.SpringUtils" %>
<%@ tag import="com.aiwei.tdjk.service.MemberService" %>
<%@ tag pageEncoding="UTF-8"%>
<%@ attribute name="id" type="java.lang.Long" required="true" description="当前要展示的会员的id" %>
<%!private MemberService memberService;%>
<%
    if(memberService == null) {
        memberService = SpringUtils.getBean(MemberService.class);
    }
    Integer age = memberService.getAgeByMemberId(id);
    out.write(age.toString());
%>
